package com.wg.springbootfilter;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Description:
 * @Author WuGang
 * @Date 2021/10/20 20:34
 * @Version 1.0
 */
@Controller
public class UserController {
    @RequestMapping("/user/detail")
    @ResponseBody
    public Object say(){
        return "/user/detail";
    }

    @RequestMapping("center")
    @ResponseBody
    public Object say2(){
        return "center";
    }
}
